<template>
  <div class="nav_box">
    <div class="title">
      <span>{{ title }}</span>
    </div>
    <div class="tool">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {     
    };
  },
  methods: {   
  },
  props:['title']
};
</script>

<style lang="less" >
.nav_box {
  display: flex;
  justify-content: start;
  align-items: center;
  height: 50px;
  margin-bottom: 10px;
  .title {
    width: 200px;
    font-size: 22px;
    color: #333333;
  }
  .tool {
    flex: 1;
    background: #2ab1e8;
    display: flex;
    justify-content: end;
    padding-right: 20px;
  }
}
</style>